package com.zzb.framework.role.vo;

import com.zzb.framework.role.entity.IUser;
import com.zzb.framework.role.entity.SysRole;
import com.zzb.framework.user.entity.User;

import java.util.List;

/**
 * 用户登录VO
 * Created by zhangzhenbin on 17-6-12.
 */
public class UserLoginVo extends User implements IUser<String> {
    private List<SysRole> sysRoles;
    private SysMenuTreeVO sysMenuTreeVO;

    public SysMenuTreeVO getSysMenuTreeVO() {
        return sysMenuTreeVO;
    }

    public void setSysMenuTreeVO(SysMenuTreeVO sysMenuTreeVO) {
        this.sysMenuTreeVO = sysMenuTreeVO;
    }

    public List<SysRole> getSysRoles() {
        return sysRoles;
    }
    public List<SysRole> setRoleCodes(List<SysRole> roleCodes){
        return this.sysRoles = roleCodes;
    }
}
